<?php echo $this->element('user'); ?>

<table>
<tr valign="top">
<td width="724" align="left">
<h1>Welcome to the <?php echo Configure::read('Settings.title'); ?>.</h1>
<BR><BR>
<?php echo Configure::read('Settings.description'); ?>
</td>
<td>
<p><img align="center" src="<?php echo Configure::read('Settings.front_image_path');?>"></p>
</td>
</tr>
</table>
<script type="text/javascript">

$(function() {
	$("#old_options_button").click(function() {
		var options = {};		
		$("#old_options").toggle('drop',options,500);
		return false;
	});
});
</script>
<?php
	$show_scaffolding_link = Configure::read('Settings.show_scaffolding_link');
	if ($show_scaffolding_link == true){
?>
<input type="button" value="Old Menu" id="old_options_button" width="100px">
<?php
	}			
?>
<div id="old_options" style="display: none;">
<fieldset>
<legend>Admin Table Of Contents</legend>

<table>
<tr>
<th>
<h4>User Groups</h4>

<ul>
	<li><a href="/admin/usergroups/index">View User Groups</a></li>
	<li><a href="/admin/usergroups/add">Add Group</a></li>
</ul>

<h4>Users</h4>

<ul>
	<li><a href="/admin/users/index">View Users</a></li>
	<li><a href="/admin/users/add">Add Users</a></li>
	<li><a href="/users/index">Start Assessment</a></li>
</ul>

<h4>Courses</h4>

<ul>
	<li><a href="/admin/courses/index">View Courses</a></li>
	<li><a href="/admin/courses/add">Add Course</a></li>
</ul>

<h4>Assessment</h4>

<ul>
	<li><a href="/admin/assessments/index">View Assessments</a></li>
	<li><a href="/admin/assessments/add">Add Assessment</a></li>
</ul>

</th>
<th>

<h4>Questions</h4>

<ul>
	<li><a href="/admin/questiongroups/index">View Question Groups</a></li>
	<li><a href="/admin/questiongroups/add">Add Question Group</a></li>
	<li><a href="/admin/questions/index">View Questions</a></li>
</ul>

<h4>Answers</h4>

<ul>
	<li><a href="/admin/answertypes/index">View Answer Types</a></li>
	<li><a href="/admin/answertypes/add">Add Answer Type</a></li>
	<li><a href="/admin/answers/index">View Answers</a></li>
	<li><a href="/admin/answers/add">Add Answer</a></li>
</ul>

</th>
</tr>
</table>
</fieldset>
